package com.ruoyi.system.mapper;


import com.ruoyi.configuration.service.impl.DashboardServiceImpl;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface DashboardMapper {
    BigDecimal getUserCount(@Param("req") DashboardServiceImpl.ReqD reqD);

    BigDecimal getOrderCount1(@Param("req")DashboardServiceImpl.ReqD reqD);

    BigDecimal getOrderCount2(@Param("req")DashboardServiceImpl.ReqD reqD);

    BigDecimal getAmount1(@Param("req")DashboardServiceImpl.ReqD reqD);

    BigDecimal getAmount2(@Param("req")DashboardServiceImpl.ReqD reqD);

    List<DashboardServiceImpl.Data2> getData2(@Param("req")DashboardServiceImpl.ReqD reqD);

    List<DashboardServiceImpl.TrendResDTO> getTrend1(@Param("req")DashboardServiceImpl.ReqD reqD);
    List<DashboardServiceImpl.TrendResDTO> getTrend2(@Param("req")DashboardServiceImpl.ReqD reqD);
    List<DashboardServiceImpl.TrendResDTO> getTrend3(@Param("req")DashboardServiceImpl.ReqD reqD);
    List<DashboardServiceImpl.TrendResDTO> getTrend4(@Param("req")DashboardServiceImpl.ReqD reqD);

}
